package com.seari.custody.service;

import com.seari.custody.bean.MeetingFile;
import com.seari.custody.bean.MeetingVoiceDTO;
import com.seari.custody.enums.MeetingFileType;

import java.util.List;

public interface MeetingFileService {

    MeetingFile downloadMeetingFile(String type, String meetingId);

    MeetingFile qryMeetingFileById(String id);

    void uploadFile(MeetingFile meetingFile);

    List<MeetingFile> qryByMeetingId(String meetingId);

    List<MeetingFile> qryByMeetingIdAndType(String meetingId,MeetingFileType meetingFileType);

    Integer delete(String id);

    List<MeetingVoiceDTO> getVoices(String meetingId);

    void updateMeetingSummary(String id, String data);

    Integer delByMeetingIdAndFileType(String meetingId, MeetingFileType meetingFileType);

    Integer delByMeetingId(String meetingId);

    Integer updMeetingFileById(MeetingFile meetingFile);
}
